package spec.tianjunxiu.unit4.zuoyedongwu;


import java.text.SimpleDateFormat;
import java.util.Date;

class AnimalTest {
    public static void main(String[] args) {
        Beijixiong b = new Beijixiong("北极熊", "鱼", "北极","冬眠");
        b.wholeLife();
        Qingwa q = new Qingwa("青蛙", "蚊子", "南方","水陆");
        q.wholeLife();
        System.out.println(b.name);
    }
}
